//
//  DeviceDataInfo.h
//  Yanwei
//
//  Created by iOS on 2018/2/26.
//  Copyright © 2018年 DCloud. All rights reserved.
//

#import <UIKit/UIKit.h>
//#import <BaiduMapAPI/BMKBaseComponent.h> // 引入百度地图基础头文件
//#import <BaiduMapAPI/BMKLocationService.h> // 引入百度地图定位功能
typedef NS_ENUM(NSUInteger, YWNetWorkStatus) {
    YWNetWorkStatusNotReachable = 0,
    YWNetWorkStatusUnknown = 1,
    YWNetWorkStatusWWAN2G = 2,
    YWNetWorkStatusWWAN3G = 3,
    YWNetWorkStatusWWAN4G = 4,
    YWNetWorkStatusWiFi = 5,
};
@interface DeviceDataInfo : NSObject;

/**
 注册百度地图
 */
+ (void)registerBaiduMap;

/**
 当前网络
 */
+ (NSString *)currentNetWork;

/**
 运营商
 */
+ (NSString *)telephonyCarrier;


/**
 经度
 */
+ (NSString *)longitude;

/**
 纬度
 */
+ (NSString *)latitude;


/**
 将事件保存到日历中

 @param title 标题
 @param remark 备注
 */
+ (void)saveEventToCalendarWithTitle:(NSString *)title remark:(NSString *)remark timeStamp:(NSString *)timeStamp;

+ (instancetype)shareDataInfo;
@property (nonatomic, copy) NSString *longitude;
@property (nonatomic, copy) NSString *latitude;

@end



